home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / General / GCC 1.37.1r15 / Tests / poor-cmpa.c < prev    next >
C/C++ Source or Header  |  1992-12-16  |  481b  |  23 lines

  1. struct parm {
  2.     int dummy;
  3.     short message;
  4.     int count;
  5.     int data[0];
  6. };
  7.  
  8. struct thing {
  9.     struct parm **fData;
  10.     int data[0];
  11. };
  12.  
  13. struct thing *foo(register struct thing *this, struct parm **data, short message)
  14. {
  15.     if (this || (this = (struct thing *) bar( sizeof (struct thing)))) {
  16.         this->fData = data;
  17.         baz( this, (long )(((unsigned int )(& ((((struct parm *)0))-> data[0])))));
  18.         ((*((*this-> fData)))). count= 0;
  19.         ((*((*this-> fData)))). message= message;
  20.     } 
  21.     return this;
  22. }
  23.